/**
 * 子模块service
 * djp
 */
var service = function($resource){

    var mylist = "/api/as/tc/notice/mylist";

    var myinfo = "/api/as/tc/notice/myinfo";
    
    var create =  "/api/as/tc/notice/create";

    var update = "/api/as/tc/notice/update";

    var place_code = "/api/as/tc/place/getPlaceCodeList";
    
    return {

        mylist : function(){
            return $resource(mylist, {}, {});
        },
    	myinfo : function(){
            return $resource(myinfo, {}, {});
        },
        create : function(){
            return $resource(create, {}, {});
        },
        update : function(){
            return $resource(update, {}, {});
        },
        place_code : function(){
            return $resource(place_code, {}, {});
        }
       
    };

};

module.exports = service;